
// 自动生成模板Brand
package brand
import (
	"time"
)

// 品牌管理 结构体  Brand
type Brand struct {
  BrandId  *int32 `json:"brandId" form:"brandId" gorm:"primarykey;column:brand_id;"`  //品牌id
  BrandName  *string `json:"brandName" form:"brandName" gorm:"column:brand_name;size:255;" binding:"required"`  //品牌名
  LogoUrl  *string `json:"logoUrl" form:"logoUrl" gorm:"column:logo_url;size:255;" binding:"required"`  //Logo图片
  Status  *string `json:"status" form:"status" gorm:"column:status;size:10;"`  //品牌状态
  CreateTime  *time.Time `json:"createTime" form:"createTime" gorm:"column:create_time;"`  //创建时间
}


// TableName 品牌管理 Brand自定义表名 brand
func (Brand) TableName() string {
    return "brand"
}





